package com.star.gc4.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("music")
public class Music {
	@TableId
	private Integer songid;
	private String songname;
	private String singer;
	private int view;
	private String location;
	private int share;
	private String lrclocation;
	private String album;

	public Music(){

	}

	public Music(String songname, String singer, String album) {
		this.songname = songname;
		this.singer = singer;
		this.album = album;
	}

	public Music(Integer songid, String songname, String singer, int view, String location, int share, String lrclocation, String album) {
		this.songid = songid;
		this.songname = songname;
		this.singer = singer;
		this.view = view;
		this.location = location;
		this.share = share;
		this.lrclocation = lrclocation;
		this.album = album;
	}

	public Music(String songname, String singer, String location, String lrclocation,String album) {
		this.songname = songname;
		this.singer = singer;
		this.location = location;
		this.lrclocation = lrclocation;
		this.album = album;
	}

	public Music(String songname, String singer, String location, String lrclocation) {
		this.songname = songname;
		this.singer = singer;
		this.location = location;
		this.lrclocation = lrclocation;
	}

	public Music(Integer songid, String songname, String singer, String location, String lrclocation) {
		this.songid = songid;
		this.songname = songname;
		this.singer = singer;
		this.location = location;
		this.lrclocation = lrclocation;
	}
}
